package visualization.operators
{
	import visualization.IDataPoint;
	import visualization.Visualization;
	
	public class Concatenate extends Operator
	{
		public var values:Array = new Array();
		
		public function Concatenate()
		{
			super();
		}
		
		override public function process(context:Visualization, element:IDataPoint=null):Object{
			var output:String = "";
			for each(var item:Object in this.values){
				output += context.getValue(item, element).toString();
			}
			return output;
		}
		
	}
}